package com.taiji.message.domain;

import com.taiji.common.annotation.Excel;
import com.taiji.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 预警信息对象 warning
 * 
 * @author a22999
 * @date 2023-06-21
 */
public class Warning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 项目代码 */
    private String projectCode;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 服务器名称 */
    @Excel(name = "服务器名称")
    private String serverName;

    /** 信息类型 */
    @Excel(name = "信息类型")
    private String infoType;

    /** 读取状态 */
    @Excel(name = "读取状态")
    private String rwStatus;

    /** 告警等级 */
    @Excel(name = "告警等级")
    private String warnLevel;

    /** 告警信息 */
    @Excel(name = "告警信息")
    private String warnInfo;

    /** 告警项目 */
    @Excel(name = "告警项目")
    private String warnProject;

    /** 告警详情 */
    @Excel(name = "告警详情")
    private String warnDetail;

    /** 状态 */
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectCode(String projectCode) 
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode() 
    {
        return projectCode;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setServerName(String serverName) 
    {
        this.serverName = serverName;
    }

    public String getServerName() 
    {
        return serverName;
    }
    public void setInfoType(String infoType) 
    {
        this.infoType = infoType;
    }

    public String getInfoType() 
    {
        return infoType;
    }
    public void setRwStatus(String rwStatus) 
    {
        this.rwStatus = rwStatus;
    }

    public String getRwStatus() 
    {
        return rwStatus;
    }
    public void setWarnLevel(String warnLevel) 
    {
        this.warnLevel = warnLevel;
    }

    public String getWarnLevel() 
    {
        return warnLevel;
    }
    public void setWarnInfo(String warnInfo) 
    {
        this.warnInfo = warnInfo;
    }

    public String getWarnInfo() 
    {
        return warnInfo;
    }
    public void setWarnProject(String warnProject) 
    {
        this.warnProject = warnProject;
    }

    public String getWarnProject() 
    {
        return warnProject;
    }
    public void setWarnDetail(String warnDetail) 
    {
        this.warnDetail = warnDetail;
    }

    public String getWarnDetail() 
    {
        return warnDetail;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectCode", getProjectCode())
            .append("title", getTitle())
            .append("serverName", getServerName())
            .append("infoType", getInfoType())
            .append("rwStatus", getRwStatus())
            .append("warnLevel", getWarnLevel())
            .append("warnInfo", getWarnInfo())
            .append("warnProject", getWarnProject())
            .append("warnDetail", getWarnDetail())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
